# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=edward
pkgver=1.1.0
pkgrel=0
pkgdesc="Implementation of the ed text editor in Scheme"
url="https://github.com/nmeum/edward"
arch="all"
license="GPL-3.0-or-later"
makedepends="chicken"
checkdepends="ed"
subpackages="$pkgname-doc"
source="https://github.com/nmeum/edward/releases/download/$pkgver/edward-$pkgver.tar.gz"

build() {
	make
}

check() {
	make check
}

package() {
	make PREFIX=/usr DESTDIR=$pkgdir install
}

sha512sums="
b0767a04829fccdac5d2cc35ee522602f1a10518f2d5fa59f1f2d362ceba552ec6b122ea1e35da539db6e6ec710a2e963f154057a9df443c6d090ac82aaa0484  edward-1.1.0.tar.gz
"
